package com.feihong.yw189.activity.yonghuzhongxin.wodexiaoxi;

import android.app.Activity;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.webkit.JavascriptInterface;

import com.just.agentweb.AgentWeb;

/**
 * Created by PVer on 2018/2/24.
 */

public class SystemMessagecontent {
    private AgentWeb agent;
    private Activity context;
    private SystemNoticeActivity.ActionCallBack callBack;


    private Handler deliver = new Handler(Looper.getMainLooper());

    public SystemMessagecontent(AgentWeb agent, Context context, SystemNoticeActivity.ActionCallBack callback) {
        this.agent = agent;
        this.context = (Activity) context;
        this.callBack = callback;
    }

    @JavascriptInterface
    public String jump_url(final String info) {

        return callBack.jump_url(info);
    }
}
